#!/usr/bin/env bash
# 安装网络工具：curl, wget, net-tools, traceroute
set -Eeuo pipefail

type log_info >/dev/null 2>&1 || { echo "[install_net] _common.sh 未加载"; exit 1; }

install_network_tools() {
  ensure_root
  apt_quiet_update
  DEBIAN_FRONTEND=noninteractive apt-get install -y \
    curl wget net-tools traceroute
  log_info "网络工具安装完成：curl wget net-tools traceroute"
}
